package com.hs.lin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lin GongZi
 * @since 2022-06-13
 */
@TableName("t_exception_handling")
public class ExceptionHandling implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 异常影响
     */
    private String exceptionEffect;

    /**
     * 责任认定
     */
    private String responsibilityAttribution;

    /**
     * 事故原因
     */
    private String causeAccident;

    /**
     * 处理方式
     */
    private String treatmentMethod;

    /**
     * 异常单号
     */
    private String exId;

    /**
     * 赔偿客户金额
     */
    private String compensationAmount;

    /**
     * 承运商承担金额
     */
    private String commitmentAmount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getExceptionEffect() {
        return exceptionEffect;
    }

    public void setExceptionEffect(String exceptionEffect) {
        this.exceptionEffect = exceptionEffect;
    }
    public String getResponsibilityAttribution() {
        return responsibilityAttribution;
    }

    public void setResponsibilityAttribution(String responsibilityAttribution) {
        this.responsibilityAttribution = responsibilityAttribution;
    }
    public String getCauseAccident() {
        return causeAccident;
    }

    public void setCauseAccident(String causeAccident) {
        this.causeAccident = causeAccident;
    }
    public String getTreatmentMethod() {
        return treatmentMethod;
    }

    public void setTreatmentMethod(String treatmentMethod) {
        this.treatmentMethod = treatmentMethod;
    }
    public String getExId() {
        return exId;
    }

    public void setExId(String exId) {
        this.exId = exId;
    }
    public String getCompensationAmount() {
        return compensationAmount;
    }

    public void setCompensationAmount(String compensationAmount) {
        this.compensationAmount = compensationAmount;
    }
    public String getCommitmentAmount() {
        return commitmentAmount;
    }

    public void setCommitmentAmount(String commitmentAmount) {
        this.commitmentAmount = commitmentAmount;
    }

    @Override
    public String toString() {
        return "ExceptionHandling{" +
            "id=" + id +
            ", exceptionEffect=" + exceptionEffect +
            ", responsibilityAttribution=" + responsibilityAttribution +
            ", causeAccident=" + causeAccident +
            ", treatmentMethod=" + treatmentMethod +
            ", exId=" + exId +
            ", compensationAmount=" + compensationAmount +
            ", commitmentAmount=" + commitmentAmount +
        "}";
    }
}
